import request from "@/utils/request";

/**
 * @description 列表
 * @param params
 * @returns {*}
 */
export function list(params){
    return request({
        url:'/article/adminList',
        method:'GET',
        params
    })
}

/**
 * @description 详情
 * @param params
 * @returns {*}
 */
export function adminById(params){
    return request({
        url:'/article/adminById',
        method:'GET',
        params
    })
}
/**
 * @description 更新
 * @param data
 * @returns {*}
 */
export function save(data){
    return request({
        url:'/article/update',
        method:'POST',
        data
    })
}
